<template>
    <h2 class="mainTitle">
        <slot>{{text}}</slot>
    </h2>
</template>

<script>
export default {
    name:"mainTitle",
    data(){
        return {
        }
    },
    props:{
        text:{
            type:String,
            default:'标题'
        }
    }
}
</script>

<style lang="scss" scoped>
.mainTitle {
    color:#9c9c9c;
    font-size:14px;
    font-weight: normal;
    line-height:16px;
    padding:20px 0;
    padding:20px 15px;
}
</style>